﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MvcApplication1.Models
{
    public class DonDangKyDichVuModel
    {
        private int _id;
        private int _khachHangId;
        private int _dichVuId;
        private string _ngayDangKy;
        private int _sanPhamId;
        private string _moTaChiTiet;
        private string _ngayDangKySuaChua;
        private string _ngayGiaoHang;
        private string _tinhTrang;
        private string _tenSanPham;
        private string _tenDangNhap;
        private string _yKienPhanHoi;

        public string yKienPhanHoi
        {
            set
            {
                _yKienPhanHoi = value;
            }
            get
            {
                return _yKienPhanHoi;
            }
        }

        public string tenDangNhap
        {
            set
            {
                _tenDangNhap = value;
            }
            get
            {
                return _tenDangNhap;
            }
        }

        public int id
        {
            set
            {
                _id = value;
            }
            get
            {
                return _id;
            }
        }
        
        public string tenSanPham
        {
            set
            {
                _tenSanPham = value;
            }
            get
            {
                return _tenSanPham;
            }
        }

        public string ngayGiaoHang
        {
            set
            {
                _ngayGiaoHang = value;
            }
            get
            {
                return _ngayGiaoHang;
            }
        }

        public string tinhTrang
        {
            set
            {
                _tinhTrang = value;
            }
            get
            {
                return _tinhTrang;
            }
        }

        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public string ngayDangKySuaChua
        {
            set
            {
                _ngayDangKySuaChua = value;
            }
            get
            {
                return _ngayDangKySuaChua;
            }
        }

        public int khachHangId
        {
            set
            {
                _khachHangId = value;
            }
            get
            {
                return _khachHangId;
            }
        }

        public int dichVuId
        {
            set
            {
                _dichVuId = value;
            }
            get
            {
                return _dichVuId;
            }
        }
        public int sanPhamId
        {
            set
            {
                _sanPhamId = value;
            }
            get
            {
                return _sanPhamId;
            }
        }

        public string moTaChiTiet
        {
            set
            {
                _moTaChiTiet = value;
            }
            get
            {
                return _moTaChiTiet;
            }
        }

        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public string ngayDangKy
        {
            set
            {
                _ngayDangKy = value;
            }
            get
            {
                return _ngayDangKy;
            }
        }
    }

    public class DichVu
    {
        private string _dichVuId;
        private string _tenDichVu;
        private string _noiDung;

        public string dichVuId
        {
            set
            {
                _dichVuId = value;
            }
            get
            {
                return _dichVuId;
            }
        }

        public string tenDichVu
        {
            set
            {
                _tenDichVu = value;
            }
            get
            {
                return _tenDichVu;
            }
        }

        public string noiDung
        {
            set
            {
                _noiDung = value;
            }
            get
            {
                return _noiDung;
            }
        }
    }
}